home *** CD-ROM | disk | FTP | other *** search
/ Electronics Boutique Catalog 1996 Spring / 1996 Electronics Boutique Spring CD-ROM (USA).bin / eb / demos / mw2demo.dir / 00015.ls < prev    next >
Encoding:
Text File  |  1995-12-11  |  987 b   |  42 lines

  1. global gNext
  2.  
  3. on mouseDown
  4.   puppetSound("More Buttons")
  5.   puppetSprite(4, 1)
  6.   puppetSprite(11, 1)
  7.   unLoad()
  8.   unLoadCast()
  9.   preLoad(77, 101)
  10.   set the castNum of sprite 4 to the number of cast "MOREBON.GIF"
  11.   set the castNum of sprite 11 to 27
  12.   updateStage()
  13.   startTimer()
  14.   repeat while the timer < 15
  15.     nothing()
  16.   end repeat
  17.   set the castNum of sprite 4 to the number of cast "MOREBOFF.GIF"
  18.   set the castNum of sprite 11 to 30
  19.   updateStage()
  20.   startTimer()
  21.   repeat while the timer < 15
  22.     nothing()
  23.   end repeat
  24.   set the castNum of sprite 4 to the number of cast "MOREBON.GIF"
  25.   set the castNum of sprite 11 to 27
  26.   updateStage()
  27.   startTimer()
  28.   repeat while the timer < 15
  29.     nothing()
  30.   end repeat
  31.   set the castNum of sprite 4 to the number of cast "MOREBOFF.GIF"
  32.   set the castNum of sprite 11 to 30
  33.   updateStage()
  34.   puppetSprite(4, 0)
  35.   puppetSprite(11, 0)
  36.   repeat while the timer < 45
  37.     nothing()
  38.   end repeat
  39.   set gNext to "enemies"
  40.   go("more final")
  41. end
  42.